Advertisement
InTesting

Monkey Circle

Nov 17th, 2020 (edited)
1,017
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 25.08 KB | None | 0 0
  1.  
  2.  
  3. local function wait(a)
  4.     if not a then return({game:GetService("RunService").Stepped:Wait()})[2]end
  5.     local b = a
  6.     while a>0 do a-=wait()end
  7.     return b-a
  8. end
  9.  
  10. local function Script_1(pl)
  11.     wait(.1)
  12.     local players = game:GetService("Players")
  13.     print[[
  14. https://pastebin.com/e0aC15s6
  15. If you guys can send a clubs mesh
  16. and a spades mesh if possible thx']]
  17.     local function Random_Value(a)
  18.         local b = {}
  19.         for _, c in pairs(a) do
  20.             table.insert(b, c)
  21.         end
  22.         return b[math.random(1, #b)]
  23.     end
  24.     local function Damage_aaa(h, d, f)
  25.         if not h then
  26.             return
  27.         end
  28.         d = d or 10
  29.         f = f or function()
  30.         end
  31.         local a = h:FindFirstAncestorWhichIsA'Model'
  32.         if not a or a == workspace then
  33.             return
  34.         end
  35.         local b, c = a:FindFirstChildWhichIsA'Humanoid', a:FindFirstChild'Head' or a:FindFirstChild'Torso' or a:FindFirstChild'HumanoidRootPart'
  36.         if b then
  37.             if b.Health > 101 then
  38.                 b.Health = 0
  39.             else
  40.                 b:TakeDamage(d)
  41.             end
  42.         elseif c then
  43.             c:Destroy()
  44.         else
  45.             pcall(function()
  46.                 a:BreakJoints()
  47.             end)
  48.         end
  49.         f()
  50.     end
  51.     local function cwrap(a)
  52.         a = a or function()
  53.         end
  54.         local b = coroutine.wrap(a)
  55.         b()
  56.         return b
  57.     end
  58.     local sss, tw, count_name = game:GetService("ServerScriptService"), game:GetService("TweenService"), 0
  59.     wait(.1)
  60.     if not sss or game.PlaceId == 843468296 then
  61.         return
  62.     end
  63.     if sss:FindFirstChild'' then
  64.         return
  65.     end
  66.     script.Name, script.Parent = '', sss
  67.     local function Instance_2(c, p)
  68.         if not c then
  69.             return
  70.         end
  71.         p = p or {}
  72.         local a = Instance.new(c, p.Parent)
  73.         for b, c in pairs(p) do
  74.             local _, d = pcall(function()
  75.                 a[b] = c
  76.             end)
  77.             if d then
  78.                 print(d)
  79.             end
  80.         end
  81.         return a
  82.     end
  83.     local function new_object(table_1)
  84.         if not table_1.ClassName or typeof(table_1.ClassName) ~= 'string' then
  85.             print'No classname.'
  86.         end
  87.         local ins = Instance.new(table_1.ClassName)
  88.         for i, v in pairs(table_1) do
  89.             if i ~= 'Parent' then
  90.                 pcall(function()
  91.                     ins[i] = v
  92.                 end)
  93.             end
  94.         end
  95.         ins.Parent = table_1.Parent
  96.         return ins
  97.     end
  98.     local function Weld_c(part_1, part_2)
  99.         local w = Instance.new("WeldConstraint", part_1)
  100.         w.Part0, w.Part1 = part_1, part_2
  101.         return w
  102.     end
  103.     local function Make_Sound(id, par)
  104.         local s = Instance.new("Sound", par)
  105.         s.SoundId, s.Volume = 'rbxassetid://'..id, 5
  106.         return s
  107.     end
  108.     local function check_ob(ob)
  109.         if not ob then
  110.             return
  111.         end
  112.         if typeof(ob) == 'userdata' then
  113.             return
  114.         end
  115.         if not ob.Parent then
  116.             return
  117.         end
  118.         return ob
  119.     end
  120.     local function check_strings(w_string, tab_st)
  121.         for _, v in pairs(tab_st) do
  122.             if string.find(w_string:lower():reverse(), tostring(v):lower():reverse()) then
  123.                 return v
  124.             end
  125.         end
  126.     end
  127.     local function Get_Player_From_Descendant(de)
  128.         local fn = de:GetFullName()
  129.         local sep1 = string.find(fn, '%.')
  130.         if not sep1 then
  131.             return
  132.         end
  133.         local sep2 = string.find(fn, '%.', sep1 + 1)
  134.         if not sep2 then
  135.             return
  136.         end
  137.         local pl = players:FindFirstChild(fn:sub(sep1 + 1, sep2 - 1))
  138.         if not pl then
  139.             return
  140.         end
  141.         return pl
  142.     end
  143.     local function GetValueFromTable(v, t)
  144.         for _, c in pairs(t) do
  145.             if c == v then
  146.                 return c
  147.             end
  148.         end
  149.     end
  150.     local function Make_Bossfight()
  151.         local target_tab = {'starglitcher','rainbow hell','kickisher','crescendio','freezing dispair',213546066,259878259,212830811,12592754,'crescendiac',1442022177,156292343,'NGRWings','Puller','Pusher','STARGLITCHER',415898123,1119453744,1509634377,415898123,723652641,519067542,152539141,614032233,'DERPZGLITCHER_REMAKE',1564523997,621367124,2074863720,623662713,862258091,1146120545,226788368,211637330,1637719516,1994963968,'Mayhem',1539245059,1283869370,1369263130,661079869,1347011178,1495032271,708334127,1359036559,582020393,363284685,643309199,2659531944,904930498,1259692095,561833161,1873219898,1166995642,1141556798,1420353940,147930134,157460916,190845741,432493949,1497785701,2347469019,228428389,919231299,1103329236,265913095,'GGLITCHER',435773595,736003449,1003121377,949709585,933674871,1449911189,258688195,265293315,1230880483,892260150,2533527428,2297862957,1588725965,1812212957,893350377,1702473314,1215691669,860594509,2116461106,2699922745,338787394,2781731664,2231500330,334283059,2082142910,654094806,2231500330,654094806,743334292,334283059,2082142910,2533527428,2656505560,556122490,924339757,144121562,2297862957,603291385,1030177093,183142252,468018712,391089144,'NGRwingsEGR',2071274388,692083837,436447939,2979962272,1290419263,340106355,844654533,1144419666,2984349070,705302406,1470848774,614032233,1102271169,798163149,256251217,1047567668,343860759,495971354,1914668859,681311208,283364132,1836986828,1521668385,1138145518,1155251570,142493403,1192214907,187944735,381659681,1083489617,1864632481,1296494908,1634231515,927737980,295882826,407749940,709122469,450622618,257700160,1755675637,293965978,1278102150,1947399124,1833385948,252266520,1338971957,598625751,965845438,838491143,314600371,1794707397,1298467151,544291208,151476016,1493957906,195916147,410474991,912554197,478890315,1088342507,1589396874,1846953343,1434166880,582904691,644271312,2142995292,869597342,1273944801,701895896,803373182,595800581,307911366,1296208488,142657040,899856040,544462530,729631989,300753631,2482117221,1747430851,899090278,2483763576,1505487022,719008519,1551788627,338871337,634255007,539526132,2622961126,398455752,1504604335,697467525,550578451,1025751967,190785069,1163789120,188256719,943961217,1764195391,877658690,737063244,304250448,'dominus',10604848,129620848,'shini-g4-m'}
  152.         local target_2_tab = {
  153.             272480200,
  154.             129459541,
  155.             357068192,
  156.             129064664,
  157.             267154303,
  158.             109044447,
  159.             104030830
  160.         }
  161.         local msg_tab = {
  162.             'Kickisher is a sin',
  163.             'pitygui is overused, it deserves to die',
  164.             'yeeto yeeto despacito, commit dead',
  165.             'Banishers are fat',
  166.             'Gltichers need to commit toaster bath',
  167.             'I can Do anything',
  168.             'I challlenge the big and strong.',
  169.             'Dont touch me >:['
  170.         }
  171.         local mr, is_on_target, has_lf, is_attacking, main_song_id, main_tween_info = math.rad, false, false, false, 2533880583, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0)
  172.         local sub_FX = {
  173.             OH = 2545012765,
  174.             Chuckle = 2545010175,
  175.             True_chaos = 2545018472,
  176.             Bye_bye = 2545211516,
  177.             ha_1 = 2606661976,
  178.             chaos_chaos = 2545008459,
  179.             ha_2 = 2606662454,
  180.             laugh_1 = 2545211765,
  181.             anything = 2544975373,
  182.             meta = 2545011398
  183.         }
  184.         local function EnableAttacks()
  185.             is_on_target,has_lf,is_attacking = false,false,false
  186.         end
  187.         local Beginning_ids = {
  188.             2545010175,
  189.             2544975373,
  190.             2545008459
  191.         }
  192.         local end_ids = {
  193.             2545012765,
  194.             2545008459,
  195.             2544975373,
  196.             2545211516,
  197.             2545018472,
  198.             2545011398
  199.         }
  200.         local des_part = Instance_2('Part', {
  201.             Size = Vector3.new(2, 3, 2),
  202.             Position = Vector3.new(0, 10, 20),
  203.             Parent = workspace,
  204.             Shape = 'Ball',
  205.             Massless = true,
  206.             Name = 'Des_Part_cito_'..tostring(count_name),
  207.             Locked = true
  208.         })
  209.         Instance_2('SpecialMesh', {
  210.             MeshId = 'rbxassetid://1510346896',
  211.             Scale = Vector3.new(.05, .05, .05),
  212.             TextureId = 'rbxassetid://1510346909',
  213.             Parent = des_part
  214.         })
  215.         des_part.ChildRemoved:Connect(function(ch)
  216.             if ch:IsA'SpecialMesh' then
  217.                 des_part.CanCollide = false
  218.             end
  219.         end)
  220.         count_name = count_name + 1
  221.         local base = workspace:FindFirstChild'Base'
  222.         if count_name % 5 == 0 and count_name ~= 0 and base then
  223.             local ran_check = true
  224.             local sound_id_1 = sub_FX.True_chaos
  225.             local sound__1 = Make_Sound(sound_id_1, base)
  226.             sound__1.Volume = 10
  227.             sound__1:Play()
  228.             sound__1.Ended:Connect(function()
  229.                 local new_scyy = new_object({
  230.                     ClassName = 'Part',
  231.                     Size = Vector3.new(1.45, 15, 10),
  232.                     Parent = workspace,
  233.                     CanCollide = false,
  234.                     Massless = true,
  235.                     Locked = true,
  236.                     Position = Vector3.new(0, 30, 0)
  237.                 })
  238.                 local new_scy = new_object({
  239.                     ClassName = 'SpecialMesh',
  240.                     MeshId = 'rbxassetid://218497396',
  241.                     TextureId = 'rbxassetid://1489112250',
  242.                     Parent = new_scyy
  243.                 })
  244.                 local bool = true
  245.                 new_scyy.Touched:Connect(function()
  246.                     if bool then
  247.                         bool = false
  248.                         local explos_1 = Instance_2('Part', {
  249.                             Parent = workspace;
  250.                             Massless = true;
  251.                             CanCollide = false;
  252.                             BrickColor = BrickColor.new("Institutional white");
  253.                             Material = 'SmoothPlastic';
  254.                             Shape = 'Ball';
  255.                             Size = Vector3.new(.1, .1, .1);
  256.                             Anchored = true;
  257.                             Position = new_scyy.Position
  258.                         })
  259.                         ran_check = false
  260.                         local t_inf_1 = TweenInfo.new(1, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, 0, false, 0)
  261.                         local New_props_1 = {
  262.                             Size = Vector3.new(1000, 1000, 1000);
  263.                             Transparency = 1
  264.                         }
  265.                         tw:Create(explos_1, t_inf_1, New_props_1):Play()
  266.                         local newsound = Make_Sound(262562442, base)
  267.                         newsound.Volume = 10
  268.                         newsound:Play()
  269.                         newsound.Ended:connect(function()
  270.                             if newsound then
  271.                                 newsound:Destroy()
  272.                                 explos_1:Destroy()
  273.                             end
  274.                         end)
  275.                         for _, v in pairs(workspace:GetDescendants()) do
  276.                             if check_ob(v) then
  277.                                 if v:IsA'Humanoid' then
  278.                                     if v.Health > 0 then
  279.                                         v.Health = 0
  280.                                     end
  281.                                 elseif check_strings(v.Name, {
  282.                                     'Head',
  283.                                     'Torso',
  284.                                     'UpperTorso',
  285.                                     'HumanoidRootPart'
  286.                                 }) then
  287.                                     v:Destroy()
  288.                                 end
  289.                             end
  290.                         end
  291.                     end
  292.                 end)
  293.                 sound__1:Destroy()
  294.             end)
  295.             wait(5)
  296.             if ran_check then
  297.                 for _, v in pairs(workspace:GetDescendants()) do
  298.                     if check_ob(v) then
  299.                         if v:IsA'Humanoid' then
  300.                             if v.Health > 0 then
  301.                                 v.Health = 0
  302.                             end
  303.                         elseif check_strings(v.Name, {
  304.                             'Head',
  305.                             'Torso',
  306.                             'UpperTorso',
  307.                             'HumanoidRootPart'
  308.                         }) then
  309.                             v:Destroy()
  310.                         end
  311.                     end
  312.                 end
  313.             end
  314.         end
  315.         if base then
  316.             wait(1)
  317.         end
  318.         local at_1, part_ori, at_3, scythe_part = Instance_2('Attachment', {
  319.             Parent = des_part,
  320.             Orientation = Vector3.new(0, 0, 90)
  321.         }), Instance_2('Part', {
  322.             Anchored = true,
  323.             Transparency = 1,
  324.             Position = Vector3.new(0, -5, 0),
  325.             Parent = workspace
  326.         }), Instance_2('Attachment', {
  327.             Parent = des_part,
  328.             Orientation = Vector3.new(90, 0, 90);
  329.             Position = Vector3.new(0, 0, 2.5)
  330.         }), Instance_2('Part', {
  331.             Size = Vector3.new(.29, 3, 2),
  332.             Parent = des_part,
  333.             CanCollide = false,
  334.             Massless = true,
  335.             Locked = true
  336.         })
  337.         Instance_2('SpecialMesh', {
  338.             MeshId = 'rbxassetid://218497396',
  339.             TextureId = 'rbxassetid://1489112250',
  340.             Parent = scythe_part
  341.         })
  342.         local at_2, at_4, at_5, at_6 = Instance_2('Attachment', {
  343.             Parent = part_ori,
  344.             Orientation = Vector3.new(0, 90, 90)
  345.         }), Instance_2('Attachment', {
  346.             Parent = scythe_part,
  347.             Orientation = Vector3.new(-90, 90, 90)
  348.         }), Instance_2('Attachment', {
  349.             Parent = scythe_part;
  350.             Position = Vector3.new(0, scythe_part.Size.Y * .25, scythe_part.Size.Z * -.5)
  351.         }), Instance_2('Attachment', {
  352.             Parent = scythe_part;
  353.             Position = Vector3.new(0, scythe_part.Size.Y * -.62, scythe_part.Size.Z * .25)
  354.         })
  355.         local a_ori, a_ori2, a_pos, trail = Instance_2('AlignOrientation', {
  356.             Attachment0 = at_1,
  357.             Attachment1 = at_2,
  358.             Parent = des_part,
  359.             PrimaryAxisOnly = true,
  360.             AlignType = 'Parallel',
  361.             Responsiveness = 1,
  362.             Enabled = true
  363.         }), Instance_2('AlignOrientation', {
  364.             Attachment0 = at_4,
  365.             Attachment1 = at_3,
  366.             Parent = des_part,
  367.             PrimaryAxisOnly = true,
  368.             AlignType = 'Parallel',
  369.             Responsiveness = 1,
  370.             Enabled = true
  371.         }), Instance_2('AlignPosition', {
  372.             Attachment0 = at_4,
  373.             Attachment1 = at_3,
  374.             Parent = des_part,
  375.             Responsiveness = 10,
  376.             Enabled = true
  377.         }), Instance_2('Trail', {
  378.             Parent = scythe_part;
  379.             Attachment0 = at_5;
  380.             Attachment1 = at_6;
  381.             Color = ColorSequence.new(Color3.new(255, 0, 0))
  382.         })
  383.         local function Make_msg(stri)
  384.             local bib = des_part:FindFirstChildWhichIsA'BillboardGui' or (function()
  385.                 return Instance_2('BillboardGui', {
  386.                     Parent = des_part;
  387.                     StudsOffsetWorldSpace = Vector3.new(0, 5, 0);
  388.                     Size = UDim2.new(10, 0, 5, 0)
  389.                 })
  390.             end)()
  391.             local tl = bib:FindFirstChildWhichIsA'TextBox' or (function()
  392.                 return Instance_2('TextBox', {
  393.                     Parent = bib;
  394.                     BackgroundTransparency = 1;
  395.                     Font = 'Code';
  396.                     TextColor3 = Color3.new(255, 255, 255);
  397.                     TextStrokeTransparency = 0;
  398.                     TextStrokeColor3 = Color3.new(0, 0, 0);
  399.                     Size = UDim2.new(1, 0, 1, 0);
  400.                     TextScaled = true
  401.                 })
  402.             end)()
  403.             tl.Text = stri
  404.         end
  405.         local function Make_Diamond()
  406.             local part_1 = Instance_2('Part', {
  407.                 Parent = workspace;
  408.                 Size = Vector3.new(4, 1, 2);
  409.                 CanCollide = false
  410.             })
  411.             Instance_2('SpecialMesh', {
  412.                 Parent = part_1;
  413.                 MeshType = 'FileMesh';
  414.                 MeshId = 'rbxassetid://9756362';
  415.                 Scale = part_1.Size * .75
  416.             })
  417.             return part_1
  418.         end
  419.         local function Make_Heart()
  420.             local part_1 = Instance_2('Part', {
  421.                 Parent = workspace;
  422.                 Size = Vector3.new(2, 2, 2);
  423.                 CanCollide = false
  424.             })
  425.             Instance_2('SpecialMesh', {
  426.                 Parent = part_1;
  427.                 MeshType = 'FileMesh';
  428.                 MeshId = 'rbxassetid://431221914';
  429.                 Scale = part_1.Size * .25
  430.             })
  431.             return part_1
  432.         end
  433.         local function Finish_1(pchar)
  434.             if not pchar then
  435.                 return
  436.             end
  437.             local hum = pchar:FindFirstChildWhichIsA('Humanoid', true)
  438.             local mainpart = pchar:FindFirstChild('Torso') or pchar:FindFirstChild('Head') or pchar:FindFirstChild('HumanoidRootPart')
  439.             if not mainpart then
  440.                 return
  441.             end
  442.             is_on_target = true
  443.             local s1 = mainpart:FindFirstChild('∞sound_1')
  444.             if s1 then
  445.                 return
  446.             end
  447.             local s = Make_Sound(end_ids[math.random(1, #end_ids)], mainpart)
  448.             s.Name, s.Volume = '∞sound_1', 10
  449.             s:Play()
  450.             local bodv = Instance_2('BodyVelocity', {
  451.                 Parent = mainpart;
  452.                 MaxForce = Vector3.new(0, math.huge, 0);
  453.                 Velocity = Vector3.new(0, 2, 0)
  454.             })
  455.             local explos_1 = Instance_2('Part', {
  456.                 Parent = pchar;
  457.                 Massless = true;
  458.                 CanCollide = false;
  459.                 BrickColor = BrickColor.new("Institutional white");
  460.                 Material = 'SmoothPlastic';
  461.                 Shape = 'Ball';
  462.                 Size = Vector3.new(.1, .1, .1);
  463.                 Anchored = true
  464.             })
  465.             local New_props_1 = {
  466.                 Size = Vector3.new(10, 10, 10);
  467.                 Transparency = 1
  468.             }
  469.             s.Ended:Connect(function()
  470.                 local s2 = Make_Sound(262562442, mainpart)
  471.                 local t_inf_1 = TweenInfo.new(s2.TimeLength, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, 0, false, 0)
  472.                 tw:Create(explos_1, t_inf_1, New_props_1):Play()
  473.                 explos_1.Position = mainpart.Position
  474.                 s2.Volume = 10
  475.                 s2:Play()
  476.                 if hum then
  477.                     hum.Health = 0
  478.                 elseif mainpart then
  479.                     mainpart:Destroy()
  480.                 else
  481.                     pchar:Remove()
  482.                 end
  483.                 s2.Ended:Connect(function()
  484.                     if mainpart then
  485.                         mainpart:Destroy()
  486.                     end
  487.                 end)
  488.             end)
  489.             wait(2)
  490.             is_on_target = false
  491.             has_lf = false
  492.             is_attacking = false
  493.             des_part.Anchored = false
  494.             for _, v in pairs(pchar:GetDescendants()) do
  495.                 if v:IsA'BasePart' then
  496.                     v.CanCollide = false
  497.                 end
  498.             end
  499.         end
  500.         local function Fight_mode_1(pchar)
  501.             local head = pchar:FindFirstChild'Head'
  502.             local hrp = pchar:FindFirstChild'HumanoidRootPart'
  503.             local hum = pchar:FindFirstChildWhichIsA'Humanoid'
  504.             local target_part = hrp or head
  505.             if target_part then
  506.                 is_on_target = true
  507.                 is_attacking = true
  508.                 for i = 1, 15 do
  509.                     if (pchar:FindFirstChild'HumanoidRootPart' or pchar:FindFirstChild'Head') and des_part then
  510.                         des_part.CFrame = target_part.CFrame * CFrame.new(0, 0, 20) * CFrame.Angles(0, mr(90), 0)
  511.                         local sound = Make_Sound(sub_FX['OH'], des_part)
  512.                         sound.Volume = 10
  513.                         sound:Play()
  514.                         local dia = Make_Diamond()
  515.                         dia.BrickColor = BrickColor.new('Institutional white')
  516.                         dia.CFrame = des_part.CFrame
  517.                         dia.Anchored = true
  518.                         dia.Touched:Connect(function(h)
  519.                             Damage_aaa(h, 5)
  520.                         end)
  521.                         cwrap(function()
  522.                             local iinfo = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0)
  523.                             local prop = {
  524.                                 CFrame = dia.CFrame * CFrame.new(30, 0, 0)
  525.                             }
  526.                             tw:Create(dia, iinfo, prop):Play()
  527.                             wait(1)
  528.                             if dia then
  529.                                 dia.Anchored = false
  530.                             end
  531.                         end)
  532.                         wait(.6)
  533.                         if sound then
  534.                             sound:Destroy()
  535.                         end
  536.                     else
  537.                         break
  538.                     end
  539.                 end
  540.                 is_attacking = false
  541.                 is_on_target = false
  542.                 has_lf = false
  543.             end
  544.         end
  545.         local function Fight_mode_2(char)
  546.             local humanoid, target = char:FindFirstChildWhichIsA'Humanoid', char:FindFirstChild'Head' or char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'HumanoidRootPart'
  547.             if not humanoid or not target then
  548.                 return
  549.             end
  550.             is_attacking = true
  551.             local pos = target.Position
  552.             local start = math.random(1, 360)
  553.             local v3_scale = Vector3.new(3, 3, 3)
  554.             local ring, tween_1 = {}, TweenInfo.new(2.75, Enum.EasingStyle.Back, Enum.EasingDirection.In, 0, false, 0)
  555.             for a = 1, 8 do
  556.                 des_part.CFrame = CFrame.new(pos) * CFrame.Angles(0, math.rad((a * 45) + start), 0) * CFrame.new(0, 0, 25)
  557.                 local b = Make_Heart()
  558.                 b.CFrame = des_part.CFrame * CFrame.Angles(mr(90), 0, 0)
  559.                 b.Anchored = true
  560.                 b.CanCollide = false
  561.                 b.Color = Color3.new(1, 1, 1)
  562.                 table.insert(ring, b)
  563.                 b.Size = b.Size * v3_scale
  564.                 b:GetChildren()[1].Scale = b:GetChildren()[1].Scale * v3_scale
  565.                 b.Touched:Connect(function(c)
  566.                     Damage_aaa(c, 15)
  567.                 end)
  568.                 wait(.1)
  569.             end
  570.             for _, a in pairs(ring) do
  571.                 tw:Create(a, tween_1, {
  572.                     CFrame = a.CFrame * CFrame.new(0, -30, 0)
  573.                 }):Play()
  574.                 wait(.25)
  575.             end
  576.             wait(3)
  577.             for _, a in pairs(ring) do
  578.                 a.Anchored = false
  579.             end
  580.             is_attacking = false
  581.         end
  582.         local function Fight_mode_3(char)
  583.             local humanoid, target = char:FindFirstChildWhichIsA'Humanoid', char:FindFirstChild'Head' or char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'HumanoidRootPart'
  584.             if not humanoid or not target then
  585.                 return
  586.             end
  587.             is_attacking = true
  588.             for _ = 1, 10 do
  589.                 local velos = {}
  590.                 local Box = Instance_2('Part', {
  591.                     Parent = des_part;
  592.                     CFrame = target.CFrame * CFrame.Angles(0, mr(math.random(1, 360)), 0) * CFrame.new(0, 0, 20);
  593.                     Shape = 'Block';
  594.                     Size = Vector3.new(3, 2, 3);
  595.                     BrickColor = BrickColor.new('Institutional white');
  596.                     CanCollide = false;
  597.                     Anchored = false
  598.                 })
  599.                 Box.Orientation = Vector3.new(0, 0, 0)
  600.                 Box.Position = Box.Position + Vector3.new(0, -10, 0)
  601.                 Box.TopSurface = 'Smooth'
  602.                 Box.BottomSurface = 'Smooth'
  603.                 local a = math.huge
  604.                 table.insert(velos, Instance_2('BodyVelocity', {
  605.                     Parent = Box;
  606.                     MaxForce = Vector3.new(a, a, a);
  607.                     Velocity = Vector3.new(0, 90, 0)
  608.                 }))
  609.                 wait()
  610.                 for _, a in pairs(velos) do
  611.                     a:Destroy()
  612.                 end
  613.                 wait(.4)
  614.                 local sound = des_part:FindFirstChild'BoxExplosion' or Instance_2('Sound', {
  615.                     SoundId = 'rbxassetid://144699494';
  616.                     Volume = 5;
  617.                     Looped = false;
  618.                     Playing = false;
  619.                     Parent = des_part;
  620.                     Name = 'BoxExplosion'
  621.                 })
  622.                 sound:Play()
  623.                 for a = 1, 3 do
  624.                     local b = Make_Heart()
  625.                     b.Anchored = true
  626.                     b.CanCollide = false
  627.                     b.Position = Box.Position
  628.                     b.Parent = des_part
  629.                     b.BrickColor = BrickColor.new("Institutional white")
  630.                     b.CFrame = CFrame.new(b.Position, target.Position)
  631.                     b.CFrame = b.CFrame * CFrame.Angles(mr(90), 0, mr((a * 30) - 60))
  632.                     tw:Create(b, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0), {
  633.                         CFrame = b.CFrame * CFrame.new(0, -40, 0)
  634.                     }):Play()
  635.                     local d = true
  636.                     b.Touched:Connect(function(c)
  637.                         if not d then
  638.                             return
  639.                         end
  640.                         Damage_aaa(c, 10, function()
  641.                             d = false
  642.                         end)
  643.                     end)
  644.                     cwrap(function()
  645.                         wait(1)
  646.                         b.Anchored = false
  647.                     end)
  648.                 end
  649.                 Box:Destroy()
  650.             end
  651.             is_attacking = false
  652.         end
  653.         local finishes = {
  654.             Finish_1
  655.         }
  656.         local fights = {
  657.             Fight_mode_1;
  658.             Fight_mode_2;
  659.             Fight_mode_3
  660.         }
  661.         local Current_Target_1
  662.         local function On_Touch_1(h)
  663.             local a = h:FindFirstAncestorWhichIsA'Model'
  664.             if not a then
  665.                 return
  666.             end
  667.             local hum = a:FindFirstChildWhichIsA'Humanoid'
  668.             if not hum then
  669.                 return
  670.             end
  671.             if hum.Health > 101 then
  672.                 finishes[math.random(1, #finishes)](a)
  673.             else
  674.                 if not has_lf and not is_attacking then
  675.                     fights[math.random(1, #fights)](a)
  676.                     Current_Target_1 = hum
  677.                 end
  678.             end
  679.         end
  680.         local function Target_pl(pl)
  681.             Make_msg(msg_tab[math.random(1, #msg_tab)])
  682.             local pchar = pl.Character
  683.             if not pchar then
  684.                 return
  685.             end
  686.             local hum = pchar:FindFirstChildWhichIsA'Humanoid'
  687.             local mainpart = pchar:FindFirstChild'HumanoidRootPart' or pchar:FindFirstChild'Head'
  688.             local lf = pchar:FindFirstChild('∞Line_Force', true)
  689.             local bool_set = true
  690.             if lf then
  691.                 if not lf.Attachment0 then
  692.                     bool_set = false
  693.                     lf:Destroy()
  694.                 end
  695.             end
  696.             if not mainpart or not bool_set then
  697.                 return
  698.             end
  699.             if not mainpart:IsA'BasePart' then
  700.                 return
  701.             end
  702.             local at_5 = Instance.new("Attachment", mainpart)
  703.             local beam = Instance.new("Beam", at_5)
  704.             beam.Attachment0 = at_1
  705.             beam.Attachment1 = at_5
  706.             beam.FaceCamera = true
  707.             local lf = Instance.new("LineForce", at_5)
  708.             lf.Name = '∞Line_Force'
  709.             lf.Magnitude = (hum and hum.WalkSpeed < 25 and 275) or 500
  710.             lf.Attachment0 = at_1
  711.             lf.Attachment1 = at_5
  712.             if des_part.Position.Y + 7.5 < mainpart.Position.Y or des_part.Position.Y - 7.5 > mainpart.Position.Y then
  713.                 mainpart.Anchored = true
  714.                 if hum then
  715.                     hum.MaxHealth = 100000
  716.                     hum.Health = hum.MaxHealth
  717.                 end
  718.                 des_part.Position = mainpart.Position
  719.                 finishes[math.random(1, #finishes)](pchar)
  720.             end
  721.             return at_5
  722.         end
  723.         if count_name % 5 ~= 0 then
  724.             local sound_1 = Make_Sound(Beginning_ids[math.random(1, 3)], des_part)
  725.             sound_1.Volume = 7.5
  726.             wait(.1)
  727.             sound_1:Play()
  728.             wait(sound_1.TimeLength)
  729.             sound_1:Destroy()
  730.         else
  731.             wait(1)
  732.         end
  733.         local ms_1 = Make_Sound(main_song_id, des_part)
  734.         ms_1:Play()
  735.         ms_1.Volume = 2
  736.         ms_1.Looped = true
  737.         des_part.Touched:Connect(On_Touch_1)
  738.         scythe_part.Touched:Connect(function(h)
  739.             local hp = h:FindFirstAncestorWhichIsA'Model'
  740.             if not hp then return end
  741.             local hum = hp:FindFirstChildWhichIsA'Humanoid'
  742.             if not hum or hp == workspace then return;end
  743.             hum.Sit = true
  744.         end)
  745.         local function Attack_Target_1(ob)
  746.             local pl = Get_Player_From_Descendant(ob)
  747.             if pl then
  748.                 is_on_target = true
  749.                 local attach = Target_pl(pl)
  750.                 has_lf = true
  751.                 cwrap(function()
  752.                    
  753.                     while true do
  754.                         if attach then
  755.                             local lf = attach:FindFirstChild('∞Line_Force')
  756.                             if lf then
  757.                                 if not lf.Attachment1 then
  758.                                     EnableAttacks()
  759.                                     break
  760.                                 elseif not lf.Attachment1:FindFirstAncestor(game.Name) then
  761.                                     EnableAttacks()
  762.                                     break
  763.                                 end
  764.                             else
  765.                                 EnableAttacks()
  766.                                 break
  767.                             end
  768.                         else
  769.                             is_on_target = false
  770.                             has_lf = false
  771.                             is_attacking = false
  772.                             break
  773.                         end
  774.                         wait(1)
  775.                     end
  776.                 end)
  777.             end
  778.         end
  779.         cwrap(function()
  780.             while true do
  781.                 if des_part then
  782.                     des_part.Anchored = false
  783.                 end
  784.                 for _, v in pairs(workspace:GetDescendants()) do
  785.                     if check_ob(v) and not is_on_target then
  786.                         if v:IsA'Humanoid' then
  787.                             if v.Health > 101 then
  788.                                 Attack_Target_1(v)
  789.                             end
  790.                         end
  791.                     end
  792.                 end
  793.                 for _, v in pairs(workspace:GetDescendants()) do
  794.                     if check_ob(v) and not is_on_target then
  795.                         if v:IsA'TextLabel' then
  796.                             if check_strings(v.Text, target_tab) then
  797.                                 Attack_Target_1(v)
  798.                             end
  799.                         elseif v:IsA'Sound' then
  800.                             if check_strings(v.SoundId, target_tab) then
  801.                                 Attack_Target_1(v)
  802.                             end
  803.                         elseif v:IsA'SpecialMesh' then
  804.                             if check_strings(v.MeshId, target_tab) then
  805.                                 Attack_Target_1(v)
  806.                             end
  807.                         elseif v:IsA'Tool' then
  808.                             if (v.Name == 'Remote' and v:FindFirstChild('Handle', true)) and (v:FindFirstChild('p1', true) or v:FindFirstChild('p2', true) or v:FindFirstChild('p3', true) or v:FindFirstChild('p4', true)) then
  809.                                 Attack_Target_1(v)
  810.                             end
  811.                         elseif v:IsA'Model' then
  812.                             if check_strings(v.Name, target_tab) then
  813.                                 Attack_Target_1(v)
  814.                             end
  815.                         end
  816.                     end
  817.                 end
  818.                 for _, v in pairs(players:GetPlayers()) do
  819.                     for _, c in pairs(target_2_tab) do
  820.                         if c == v.UserId then
  821.                             Attack_Target_1(v)
  822.                         end
  823.                     end
  824.                 end
  825.                 wait(1)
  826.                 if Current_Target_1 and Current_Target_1.Parent ~= nil and Current_Target_1.Parent.Parent ~= nil then
  827.                     fights[math.random(1, #fights)](Current_Target_1.Parent)
  828.                 else
  829.                     Current_Target_1 = nil
  830.                 end
  831.             end
  832.         end)
  833.     end
  834.     wait(1)
  835.     Make_Bossfight()
  836.     local a = 'des_part_cito'
  837.     local function temp1()
  838.         for _, v in pairs(workspace:GetChildren()) do
  839.             local vn = v.Name
  840.             if vn:sub(1, a:len()):lower() == 'des_part_cito' then
  841.                 return true
  842.             end
  843.         end
  844.     end
  845.     workspace.ChildRemoved:Connect(function(c)
  846.         wait(2)
  847.         local cn = c.Name
  848.         if string.find(cn:lower(), a:lower()) and not temp1() then
  849.             Make_Bossfight()
  850.         end
  851.     end)
  852. end
  853. Script_1()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement