Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- code generated using luamin.js, Herrtt#3868
- --]]
- local function Script_1(pl)
- wait(.1)
- local players = game:GetService("Players")
- print[[
- https://pastebin.com/e0aC15s6
- If you guys can send a clubs mesh
- and a spades mesh if possible thx']]
- local function Random_Value(a)
- local b = {}
- for _, c in pairs(a) do
- table.insert(b, c)
- end
- return b[math.random(1, #b)]
- end
- local function Damage_aaa(h, d, f)
- if not h then
- return
- end
- d = d or 10
- f = f or function()
- end
- local a = h:FindFirstAncestorWhichIsA'Model'
- if not a or a == workspace then
- return
- end
- local b, c = a:FindFirstChildWhichIsA'Humanoid', a:FindFirstChild'Head' or a:FindFirstChild'Torso' or a:FindFirstChild'HumanoidRootPart'
- if b then
- if b.Health > 101 then
- b.Health = 0
- else
- b:TakeDamage(d)
- end
- elseif c then
- c:Destroy()
- else
- pcall(function()
- a:BreakJoints()
- end)
- end
- f()
- end
- local function cwrap(a)
- a = a or function()
- end
- local b = coroutine.wrap(a)
- b()
- return b
- end
- local sss, tw, count_name = game:GetService("ServerScriptService"), game:GetService("TweenService"), 0
- wait(.1)
- if not sss or game.PlaceId == 843468296 then
- return
- end
- if sss:FindFirstChild'∞' then
- return
- end
- script.Name, script.Parent = '∞', sss
- local function Instance_2(c, p)
- if not c then
- return
- end
- p = p or {}
- local a = Instance.new(c, p.Parent)
- for b, c in pairs(p) do
- local _, d = pcall(function()
- a[b] = c
- end)
- if d then
- print(d)
- end
- end
- return a
- end
- local function new_object(table_1)
- if not table_1.ClassName or typeof(table_1.ClassName) ~= 'string' then
- print'No classname.'
- end
- local ins = Instance.new(table_1.ClassName)
- for i, v in pairs(table_1) do
- if i ~= 'Parent' then
- pcall(function()
- ins[i] = v
- end)
- end
- end
- ins.Parent = table_1.Parent
- return ins
- end
- local function Weld_c(part_1, part_2)
- local w = Instance.new("WeldConstraint", part_1)
- w.Part0, w.Part1 = part_1, part_2
- return w
- end
- local function Make_Sound(id, par)
- local s = Instance.new("Sound", par)
- s.SoundId, s.Volume = 'rbxassetid://'..id, 5
- return s
- end
- local function check_ob(ob)
- if not ob then
- return
- end
- if typeof(ob) == 'userdata' then
- return
- end
- if not ob.Parent then
- return
- end
- return ob
- end
- local function check_strings(w_string, tab_st)
- for _, v in pairs(tab_st) do
- if string.find(w_string:lower():reverse(), tostring(v):lower():reverse()) then
- return v
- end
- end
- end
- local function Get_Player_From_Descendant(de)
- local fn = de:GetFullName()
- local sep1 = string.find(fn, '%.')
- if not sep1 then
- return
- end
- local sep2 = string.find(fn, '%.', sep1 + 1)
- if not sep2 then
- return
- end
- local pl = players:FindFirstChild(fn:sub(sep1 + 1, sep2 - 1))
- if not pl then
- return
- end
- return pl
- end
- local function GetValueFromTable(v, t)
- for _, c in pairs(t) do
- if c == v then
- return c
- end
- end
- end
- local function Make_Bossfight()
- 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'}
- local target_2_tab = {
- 272480200,
- 129459541,
- 357068192,
- 129064664,
- 267154303,
- 109044447,
- 104030830
- }
- local msg_tab = {
- 'Kickisher is a sin',
- 'pitygui is overused, it deserves to die',
- 'yeeto yeeto despacito, commit dead',
- 'Banishers are fat',
- 'Gltichers need to commit toaster bath',
- 'I can Do anything',
- 'I challlenge the big and strong.',
- 'Dont touch me >:['
- }
- 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)
- local sub_FX = {
- OH = 2545012765,
- Chuckle = 2545010175,
- True_chaos = 2545018472,
- Bye_bye = 2545211516,
- ha_1 = 2606661976,
- chaos_chaos = 2545008459,
- ha_2 = 2606662454,
- laugh_1 = 2545211765,
- anything = 2544975373,
- meta = 2545011398
- }
- local function EnableAttacks()
- is_on_target,has_lf,is_attacking = false,false,false
- end
- local Beginning_ids = {
- 2545010175,
- 2544975373,
- 2545008459
- }
- local end_ids = {
- 2545012765,
- 2545008459,
- 2544975373,
- 2545211516,
- 2545018472,
- 2545011398
- }
- local des_part = Instance_2('Part', {
- Size = Vector3.new(2, 3, 2),
- Position = Vector3.new(0, 10, 20),
- Parent = workspace,
- Shape = 'Ball',
- Massless = true,
- Name = 'Des_Part_cito_'..tostring(count_name),
- Locked = true
- })
- Instance_2('SpecialMesh', {
- MeshId = 'rbxassetid://1510346896',
- Scale = Vector3.new(.05, .05, .05),
- TextureId = 'rbxassetid://1510346909',
- Parent = des_part
- })
- des_part.ChildRemoved:Connect(function(ch)
- if ch:IsA'SpecialMesh' then
- des_part.CanCollide = false
- end
- end)
- count_name = count_name + 1
- local base = workspace:FindFirstChild'Base'
- if count_name % 5 == 0 and count_name ~= 0 and base then
- local ran_check = true
- local sound_id_1 = sub_FX.True_chaos
- local sound__1 = Make_Sound(sound_id_1, base)
- sound__1.Volume = 10
- sound__1:Play()
- sound__1.Ended:Connect(function()
- local new_scyy = new_object({
- ClassName = 'Part',
- Size = Vector3.new(1.45, 15, 10),
- Parent = workspace,
- CanCollide = false,
- Massless = true,
- Locked = true,
- Position = Vector3.new(0, 30, 0)
- })
- local new_scy = new_object({
- ClassName = 'SpecialMesh',
- MeshId = 'rbxassetid://218497396',
- TextureId = 'rbxassetid://1489112250',
- Parent = new_scyy
- })
- local bool = true
- new_scyy.Touched:Connect(function()
- if bool then
- bool = false
- local explos_1 = Instance_2('Part', {
- Parent = workspace;
- Massless = true;
- CanCollide = false;
- BrickColor = BrickColor.new("Institutional white");
- Material = 'SmoothPlastic';
- Shape = 'Ball';
- Size = Vector3.new(.1, .1, .1);
- Anchored = true;
- Position = new_scyy.Position
- })
- ran_check = false
- local t_inf_1 = TweenInfo.new(1, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, 0, false, 0)
- local New_props_1 = {
- Size = Vector3.new(1000, 1000, 1000);
- Transparency = 1
- }
- tw:Create(explos_1, t_inf_1, New_props_1):Play()
- local newsound = Make_Sound(262562442, base)
- newsound.Volume = 10
- newsound:Play()
- newsound.Ended:connect(function()
- if newsound then
- newsound:Destroy()
- explos_1:Destroy()
- end
- end)
- for _, v in pairs(workspace:GetDescendants()) do
- if check_ob(v) then
- if v:IsA'Humanoid' then
- if v.Health > 0 then
- v.Health = 0
- end
- elseif check_strings(v.Name, {
- 'Head',
- 'Torso',
- 'UpperTorso',
- 'HumanoidRootPart'
- }) then
- v:Destroy()
- end
- end
- end
- end
- end)
- sound__1:Destroy()
- end)
- wait(5)
- if ran_check then
- for _, v in pairs(workspace:GetDescendants()) do
- if check_ob(v) then
- if v:IsA'Humanoid' then
- if v.Health > 0 then
- v.Health = 0
- end
- elseif check_strings(v.Name, {
- 'Head',
- 'Torso',
- 'UpperTorso',
- 'HumanoidRootPart'
- }) then
- v:Destroy()
- end
- end
- end
- end
- end
- if base then
- wait(1)
- end
- local at_1, part_ori, at_3, scythe_part = Instance_2('Attachment', {
- Parent = des_part,
- Orientation = Vector3.new(0, 0, 90)
- }), Instance_2('Part', {
- Anchored = true,
- Transparency = 1,
- Position = Vector3.new(0, -5, 0),
- Parent = workspace
- }), Instance_2('Attachment', {
- Parent = des_part,
- Orientation = Vector3.new(90, 0, 90);
- Position = Vector3.new(0, 0, 2.5)
- }), Instance_2('Part', {
- Size = Vector3.new(.29, 3, 2),
- Parent = des_part,
- CanCollide = false,
- Massless = true,
- Locked = true
- })
- Instance_2('SpecialMesh', {
- MeshId = 'rbxassetid://218497396',
- TextureId = 'rbxassetid://1489112250',
- Parent = scythe_part
- })
- local at_2, at_4, at_5, at_6 = Instance_2('Attachment', {
- Parent = part_ori,
- Orientation = Vector3.new(0, 90, 90)
- }), Instance_2('Attachment', {
- Parent = scythe_part,
- Orientation = Vector3.new(-90, 90, 90)
- }), Instance_2('Attachment', {
- Parent = scythe_part;
- Position = Vector3.new(0, scythe_part.Size.Y * .25, scythe_part.Size.Z * -.5)
- }), Instance_2('Attachment', {
- Parent = scythe_part;
- Position = Vector3.new(0, scythe_part.Size.Y * -.62, scythe_part.Size.Z * .25)
- })
- local a_ori, a_ori2, a_pos, trail = Instance_2('AlignOrientation', {
- Attachment0 = at_1,
- Attachment1 = at_2,
- Parent = des_part,
- PrimaryAxisOnly = true,
- AlignType = 'Parallel',
- Responsiveness = 1,
- Enabled = true
- }), Instance_2('AlignOrientation', {
- Attachment0 = at_4,
- Attachment1 = at_3,
- Parent = des_part,
- PrimaryAxisOnly = true,
- AlignType = 'Parallel',
- Responsiveness = 1,
- Enabled = true
- }), Instance_2('AlignPosition', {
- Attachment0 = at_4,
- Attachment1 = at_3,
- Parent = des_part,
- Responsiveness = 10,
- Enabled = true
- }), Instance_2('Trail', {
- Parent = scythe_part;
- Attachment0 = at_5;
- Attachment1 = at_6;
- Color = ColorSequence.new(Color3.new(255, 0, 0))
- })
- local function Make_msg(stri)
- local bib = des_part:FindFirstChildWhichIsA'BillboardGui' or (function()
- return Instance_2('BillboardGui', {
- Parent = des_part;
- StudsOffsetWorldSpace = Vector3.new(0, 5, 0);
- Size = UDim2.new(10, 0, 5, 0)
- })
- end)()
- local tl = bib:FindFirstChildWhichIsA'TextBox' or (function()
- return Instance_2('TextBox', {
- Parent = bib;
- BackgroundTransparency = 1;
- Font = 'Code';
- TextColor3 = Color3.new(255, 255, 255);
- TextStrokeTransparency = 0;
- TextStrokeColor3 = Color3.new(0, 0, 0);
- Size = UDim2.new(1, 0, 1, 0);
- TextScaled = true
- })
- end)()
- tl.Text = stri
- end
- local function Make_Diamond()
- local part_1 = Instance_2('Part', {
- Parent = workspace;
- Size = Vector3.new(4, 1, 2);
- CanCollide = false
- })
- Instance_2('SpecialMesh', {
- Parent = part_1;
- MeshType = 'FileMesh';
- MeshId = 'rbxassetid://9756362';
- Scale = part_1.Size * .75
- })
- return part_1
- end
- local function Make_Heart()
- local part_1 = Instance_2('Part', {
- Parent = workspace;
- Size = Vector3.new(2, 2, 2);
- CanCollide = false
- })
- Instance_2('SpecialMesh', {
- Parent = part_1;
- MeshType = 'FileMesh';
- MeshId = 'rbxassetid://431221914';
- Scale = part_1.Size * .25
- })
- return part_1
- end
- local function Finish_1(pchar)
- if not pchar then
- return
- end
- local hum = pchar:FindFirstChildWhichIsA('Humanoid', true)
- local mainpart = pchar:FindFirstChild('Torso') or pchar:FindFirstChild('Head') or pchar:FindFirstChild('HumanoidRootPart')
- if not mainpart then
- return
- end
- is_on_target = true
- local s1 = mainpart:FindFirstChild('∞sound_1')
- if s1 then
- return
- end
- local s = Make_Sound(end_ids[math.random(1, #end_ids)], mainpart)
- s.Name, s.Volume = '∞sound_1', 10
- s:Play()
- local bodv = Instance_2('BodyVelocity', {
- Parent = mainpart;
- MaxForce = Vector3.new(0, math.huge, 0);
- Velocity = Vector3.new(0, 2, 0)
- })
- local explos_1 = Instance_2('Part', {
- Parent = pchar;
- Massless = true;
- CanCollide = false;
- BrickColor = BrickColor.new("Institutional white");
- Material = 'SmoothPlastic';
- Shape = 'Ball';
- Size = Vector3.new(.1, .1, .1);
- Anchored = true
- })
- local New_props_1 = {
- Size = Vector3.new(10, 10, 10);
- Transparency = 1
- }
- s.Ended:Connect(function()
- local s2 = Make_Sound(262562442, mainpart)
- local t_inf_1 = TweenInfo.new(s2.TimeLength, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, 0, false, 0)
- tw:Create(explos_1, t_inf_1, New_props_1):Play()
- explos_1.Position = mainpart.Position
- s2.Volume = 10
- s2:Play()
- if hum then
- hum.Health = 0
- elseif mainpart then
- mainpart:Destroy()
- else
- pchar:Remove()
- end
- s2.Ended:Connect(function()
- if mainpart then
- mainpart:Destroy()
- end
- end)
- end)
- wait(2)
- is_on_target = false
- has_lf = false
- is_attacking = false
- des_part.Anchored = false
- for _, v in pairs(pchar:GetDescendants()) do
- if v:IsA'BasePart' then
- v.CanCollide = false
- end
- end
- end
- local function Fight_mode_1(pchar)
- local head = pchar:FindFirstChild'Head'
- local hrp = pchar:FindFirstChild'HumanoidRootPart'
- local hum = pchar:FindFirstChildWhichIsA'Humanoid'
- local target_part = hrp or head
- if target_part then
- is_on_target = true
- is_attacking = true
- for i = 1, 15 do
- if (pchar:FindFirstChild'HumanoidRootPart' or pchar:FindFirstChild'Head') and des_part then
- des_part.CFrame = target_part.CFrame * CFrame.new(0, 0, 20) * CFrame.Angles(0, mr(90), 0)
- local sound = Make_Sound(sub_FX['OH'], des_part)
- sound.Volume = 10
- sound:Play()
- local dia = Make_Diamond()
- dia.BrickColor = BrickColor.new('Institutional white')
- dia.CFrame = des_part.CFrame
- dia.Anchored = true
- dia.Touched:Connect(function(h)
- Damage_aaa(h, 5)
- end)
- cwrap(function()
- local iinfo = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0)
- local prop = {
- CFrame = dia.CFrame * CFrame.new(30, 0, 0)
- }
- tw:Create(dia, iinfo, prop):Play()
- wait(1)
- if dia then
- dia.Anchored = false
- end
- end)
- wait(.6)
- if sound then
- sound:Destroy()
- end
- else
- break
- end
- end
- is_attacking = false
- is_on_target = false
- has_lf = false
- end
- end
- local function Fight_mode_2(char)
- local humanoid, target = char:FindFirstChildWhichIsA'Humanoid', char:FindFirstChild'Head' or char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'HumanoidRootPart'
- if not humanoid or not target then
- return
- end
- is_attacking = true
- local pos = target.Position
- local start = math.random(1, 360)
- local v3_scale = Vector3.new(3, 3, 3)
- local ring, tween_1 = {}, TweenInfo.new(2.75, Enum.EasingStyle.Back, Enum.EasingDirection.In, 0, false, 0)
- for a = 1, 8 do
- des_part.CFrame = CFrame.new(pos) * CFrame.Angles(0, math.rad((a * 45) + start), 0) * CFrame.new(0, 0, 25)
- local b = Make_Heart()
- b.CFrame = des_part.CFrame * CFrame.Angles(mr(90), 0, 0)
- b.Anchored = true
- b.CanCollide = false
- b.Color = Color3.new(1, 1, 1)
- table.insert(ring, b)
- b.Size = b.Size * v3_scale
- b:GetChildren()[1].Scale = b:GetChildren()[1].Scale * v3_scale
- b.Touched:Connect(function(c)
- Damage_aaa(c, 15)
- end)
- wait(.1)
- end
- for _, a in pairs(ring) do
- tw:Create(a, tween_1, {
- CFrame = a.CFrame * CFrame.new(0, -30, 0)
- }):Play()
- wait(.25)
- end
- wait(3)
- for _, a in pairs(ring) do
- a.Anchored = false
- end
- is_attacking = false
- end
- local function Fight_mode_3(char)
- local humanoid, target = char:FindFirstChildWhichIsA'Humanoid', char:FindFirstChild'Head' or char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'HumanoidRootPart'
- if not humanoid or not target then
- return
- end
- is_attacking = true
- for _ = 1, 10 do
- local velos = {}
- local Box = Instance_2('Part', {
- Parent = des_part;
- CFrame = target.CFrame * CFrame.Angles(0, mr(math.random(1, 360)), 0) * CFrame.new(0, 0, 20);
- Shape = 'Block';
- Size = Vector3.new(3, 2, 3);
- BrickColor = BrickColor.new('Institutional white');
- CanCollide = false;
- Anchored = false
- })
- Box.Orientation = Vector3.new(0, 0, 0)
- Box.Position = Box.Position + Vector3.new(0, -10, 0)
- Box.TopSurface = 'Smooth'
- Box.BottomSurface = 'Smooth'
- local a = math.huge
- table.insert(velos, Instance_2('BodyVelocity', {
- Parent = Box;
- MaxForce = Vector3.new(a, a, a);
- Velocity = Vector3.new(0, 90, 0)
- }))
- wait()
- for _, a in pairs(velos) do
- a:Destroy()
- end
- wait(.4)
- local sound = des_part:FindFirstChild'BoxExplosion' or Instance_2('Sound', {
- SoundId = 'rbxassetid://144699494';
- Volume = 5;
- Looped = false;
- Playing = false;
- Parent = des_part;
- Name = 'BoxExplosion'
- })
- sound:Play()
- for a = 1, 3 do
- local b = Make_Heart()
- b.Anchored = true
- b.CanCollide = false
- b.Position = Box.Position
- b.Parent = des_part
- b.BrickColor = BrickColor.new("Institutional white")
- b.CFrame = CFrame.new(b.Position, target.Position)
- b.CFrame = b.CFrame * CFrame.Angles(mr(90), 0, mr((a * 30) - 60))
- tw:Create(b, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0), {
- CFrame = b.CFrame * CFrame.new(0, -40, 0)
- }):Play()
- local d = true
- b.Touched:Connect(function(c)
- if not d then
- return
- end
- Damage_aaa(c, 10, function()
- d = false
- end)
- end)
- cwrap(function()
- wait(1)
- b.Anchored = false
- end)
- end
- Box:Destroy()
- end
- is_attacking = false
- end
- local finishes = {
- Finish_1
- }
- local fights = {
- Fight_mode_1;
- Fight_mode_2;
- Fight_mode_3
- }
- local Current_Target_1
- local function On_Touch_1(h)
- local a = h:FindFirstAncestorWhichIsA'Model'
- if not a then
- return
- end
- local hum = a:FindFirstChildWhichIsA'Humanoid'
- if not hum then
- return
- end
- if hum.Health > 101 then
- finishes[math.random(1, #finishes)](a)
- else
- if not has_lf and not is_attacking then
- fights[math.random(1, #fights)](a)
- Current_Target_1 = hum
- end
- end
- end
- local function Target_pl(pl)
- Make_msg(msg_tab[math.random(1, #msg_tab)])
- local pchar = pl.Character
- if not pchar then
- return
- end
- local hum = pchar:FindFirstChildWhichIsA'Humanoid'
- local mainpart = pchar:FindFirstChild'HumanoidRootPart' or pchar:FindFirstChild'Head'
- local lf = pchar:FindFirstChild('∞Line_Force', true)
- local bool_set = true
- if lf then
- if not lf.Attachment0 then
- bool_set = false
- lf:Destroy()
- end
- end
- if not mainpart or not bool_set then
- return
- end
- if not mainpart:IsA'BasePart' then
- return
- end
- local at_5 = Instance.new("Attachment", mainpart)
- local beam = Instance.new("Beam", at_5)
- beam.Attachment0 = at_1
- beam.Attachment1 = at_5
- beam.FaceCamera = true
- local lf = Instance.new("LineForce", at_5)
- lf.Name = '∞Line_Force'
- lf.Magnitude = (hum and hum.WalkSpeed < 25 and 275) or 500
- lf.Attachment0 = at_1
- lf.Attachment1 = at_5
- if des_part.Position.Y + 7.5 < mainpart.Position.Y or des_part.Position.Y - 7.5 > mainpart.Position.Y then
- mainpart.Anchored = true
- if hum then
- hum.MaxHealth = 100000
- hum.Health = hum.MaxHealth
- end
- des_part.Position = mainpart.Position
- finishes[math.random(1, #finishes)](pchar)
- end
- return at_5
- end
- if count_name % 5 ~= 0 then
- local sound_1 = Make_Sound(Beginning_ids[math.random(1, 3)], des_part)
- sound_1.Volume = 7.5
- wait(.1)
- sound_1:Play()
- wait(sound_1.TimeLength)
- sound_1:Destroy()
- else
- wait(1)
- end
- local ms_1 = Make_Sound(main_song_id, des_part)
- ms_1:Play()
- ms_1.Volume = 2
- ms_1.Looped = true
- des_part.Touched:Connect(On_Touch_1)
- scythe_part.Touched:Connect(function(h)
- local hp = h:FindFirstAncestorWhichIsA'Model'
- if not hp then return end
- local hum = hp:FindFirstChildWhichIsA'Humanoid'
- if not hum or hp == workspace then return;end
- hum.Sit = true
- end)
- local function Attack_Target_1(ob)
- local pl = Get_Player_From_Descendant(ob)
- if pl then
- is_on_target = true
- local attach = Target_pl(pl)
- has_lf = true
- cwrap(function()
- while true do
- if attach then
- local lf = attach:FindFirstChild('∞Line_Force')
- if lf then
- if not lf.Attachment1 then
- EnableAttacks()
- break
- elseif not lf.Attachment1:FindFirstAncestor(game.Name) then
- EnableAttacks()
- break
- end
- else
- EnableAttacks()
- break
- end
- else
- is_on_target = false
- has_lf = false
- is_attacking = false
- break
- end
- wait(1)
- end
- end)
- end
- end
- cwrap(function()
- while true do
- if des_part then
- des_part.Anchored = false
- end
- for _, v in pairs(workspace:GetDescendants()) do
- if check_ob(v) and not is_on_target then
- if v:IsA'Humanoid' then
- if v.Health > 101 then
- Attack_Target_1(v)
- end
- end
- end
- end
- for _, v in pairs(workspace:GetDescendants()) do
- if check_ob(v) and not is_on_target then
- if v:IsA'TextLabel' then
- if check_strings(v.Text, target_tab) then
- Attack_Target_1(v)
- end
- elseif v:IsA'Sound' then
- if check_strings(v.SoundId, target_tab) then
- Attack_Target_1(v)
- end
- elseif v:IsA'SpecialMesh' then
- if check_strings(v.MeshId, target_tab) then
- Attack_Target_1(v)
- end
- elseif v:IsA'Tool' then
- 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
- Attack_Target_1(v)
- end
- elseif v:IsA'Model' then
- if check_strings(v.Name, target_tab) then
- Attack_Target_1(v)
- end
- end
- end
- end
- for _, v in pairs(players:GetPlayers()) do
- for _, c in pairs(target_2_tab) do
- if c == v.UserId then
- Attack_Target_1(v)
- end
- end
- end
- wait(1)
- if Current_Target_1 and Current_Target_1.Parent ~= nil and Current_Target_1.Parent.Parent ~= nil then
- fights[math.random(1, #fights)](Current_Target_1.Parent)
- else
- Current_Target_1 = nil
- end
- end
- end)
- end
- wait(1)
- Make_Bossfight()
- local a = 'des_part_cito'
- local function temp1()
- for _, v in pairs(workspace:GetChildren()) do
- local vn = v.Name
- if vn:sub(1, a:len()):lower() == 'des_part_cito' then
- return true
- end
- end
- end
- workspace.ChildRemoved:Connect(function(c)
- wait(2)
- local cn = c.Name
- if string.find(cn:lower(), a:lower()) and not temp1() then
- Make_Bossfight()
- end
- end)
- end
- Script_1()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement